package com.lifeng.patterns.chainofResponsibility;

/**
 * @description: 老大审批节点
 * @author: lifeng
 * @create: 2020/9/10 17:28
 */
public class BossManagerApprovaHandler extends AbstractApprovaHandler{
    public BossManagerApprovaHandler() {
    }

    public BossManagerApprovaHandler(AbstractApprovaHandler nextHandler) {
        super(nextHandler);
    }

    @Override
    protected Boolean doHandler(Integer fees) {
        //TODO 是否同意
        System.out.println("大boss:同意");
        return true;
    }
}
